package edu.zcmu.seckill.vo;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author: tang
 * @Date: 2022/02/17/22:29
 * @Description: 封装前端注册信息
 */
@Data
public class RegisterVo {

    @NotNull(message = "输入框不能为空")
    private String name;
    @NotNull(message = "输入框不能为空")
    private String fullname;
    @Length(min = 18,max = 18,message = "身份证错误")
    private String idcard;
    @Length(min = 11,max = 11,message = "手机号格式错误")
    private String telphone;
    @NotNull(message = "输入框不能为空")
    private String password;



}
